switch transport to JSON instead of custom framing