generalize metabox for properties whose value is another entity