Split json from xml and merge them when uploading the document
Add license