Expanding auditing to auto-detect XML or JSON, and store the desrialized body as JSON