Categories model now returns category code in payload