Log JSON payloads, using the same encoding as the services payload used