added prettify_json and xml_tidy