Clean up a freshly converted XML-to-JSON object in a sensible way
clean xml2js output based on some user defined heuristics