Add quantity serialization
start of MD event store