Make json-representation and xml-representation public