Logging for incomming and outgoing json