basis.data: change resolveValue for function values, for object with `factory` property should be specified in cases when factory required