#87: Add JSON roundtripping test for SetResourceContent. In the process some issues were found and fixed in the XML <-> JSON conversion
#87: Support JSON body parameters for CRUD operations. Add new tests for this.