joining chunks of stdin will cause JSON.parse to fail