outlined structure for xml and json converters