ability to serialize models to file (for validation testing)