Fixed issues with pulling in of the json, starting on the xml