Add response serialization for path