made request and resposne serializable