Function singlelineToDict with unittests and passed all tests

takes a row already IDed to be a single row and returns a dict with
matching labels and data for that row.