Introduce a Factory to create the different types of output formats for the extracted data.