Minor cleanup of string request/response serializer