Cleaned memory management in the XML parser
Working on the JSON parser using yajl