Modify category json representation.