add support for format related configuration options to the RestYamlCollectionLoader and RestXmlCollectionLoader