raw patch in JSON or XML (issue #45)