Adding getRows and setRows methods.  This lets you convert the table to and from a JSON representation.