Remove xml-specific stuff from json-generated classes.