Changed results formatter to work with varying columns returned