Fix serialization of milestone and iteration properties.