Adds switch statement to format category names for search in side nav