mapping column names to rows in json response, more tests passing