tried a different approach for the json write and read.  the json write seems to work, but the read doesn't succeed and returns all nils everywhere.
The contents of the .json file are correct because it does get dumped as being valid data.