+ changed json output to add line breaks and unescape slashes
+ added optional field for xml root and defaulttag to form
+ replacing pear xml_serializer with simfony/serializer