I know how to do the iteration, but am wondering if there's a way to replace the nulls based on data type of the item. For instance, strings would be replaced with string.empty and numbers with 0.