passing json objects across sse