add tests for existing xlsx and csv output
add tests or lines output
implement lines output
fix actual flatten command output
output extra columns from the schema upon flattening