Fixed reference to incorrectly named object

Getting a build error on the master branch. Looks like a reference exists to non-existent "JObject". All other similar functions on this page reference JsonObject