Fix ingredient xml and json render; Create unit_type basic functionalities