refactoring of RecordDataFormatterFactory