Refactored output formatting and handling

- Textual output now looks pretty
- Tabularized data formats now use object_to_tabular()