Clean up
Render categories in JSON