Basic JSON behavior for categories