core, toXml, fromXml, toJson