Clean up serialization functions, properly handle empty strings in
ArrayLists