sanitizes dockmaster webservice JSON responses to proper REST-like JSON