fix serialization of request logs