Added tests for output formatting. Still not sure how to accept any arbitrary data and figure out if it is a map or a string or a whatever and act on that. For now we do it this way.