added support of property as embed in pyrest