eventstore entity conversions