make JSON look better by sorting everything
hacky first version of profile separation