Do not use 'try' method, as it is the only rails dependency in script/xml_to_json