Converts ascii tables to json arrays