Logging in JSON.