generalize ReferenceField behaviour (eg. relatedItems) to use 'getRaw' method to avoid pickling errors