Small fix for jsonToXml

Added nifty method to remove null entries from json objects