Logging of json string in debug mode