Added places to XML. Added js functionality not to print empty objects
for empty fields in XML.