Get all fields in a collection

Hello Jack,

I want to list out only field names present in a collection. values are not required.