usertype validation for properties + macro for map creation