Here is migration to new props type with more safe conversion to db format. Added two versions StoredPropsItem for and PropsItem for client and got rid of "as" casting.