Added REST endpoint to return the JSON skeleton of the API call from the form
Resolved merge conflicts. Merging new REST api endpoint