Updating FramsieController::SendJsonEndpointResponse()