pothos-library: implement converters with templates