Value companion with xml, json