return category as metadata