fix to format results from HiveServer2