fix for dates being incorrectly removed during toObject with minimize=true