add json format to columns and rows