added createJsonToDumpStream