Add ability to switch response payload based on request body