convert field names to slugs