Switched the response object over to just accepting an object. This makes it a bit more flexible and less convoluted.