properties of a model should also be a flat hash