elegant way to output table in node