Standardization/defensive coding for JSONWP compatibility

let's make sure to always use one of the handlers when responding from controller.js!