Fixed Java -> JSON conversion for Category Set