pothos-library: filling in the convert implementation