remove error reporting change
auto detection for xml/json types, loadString+loadFile for json