Addef proper serialization of properties that return id