Modified request handling to expect a response object from action. Wrapped action in output buffer