add serialization for forecast