Trying to fix a serialization bug with empty lists.  Not succeeding yet.