Request dispatch and response formatting