pothos-library: serialization support for proxy type