pothos-library: reimplement the object container factory specialization