adapt TransformerFactory to TransformerRegistry change from Panda library