serialize timestamp on the response