Reuse fields.resolve to resolve object field and object array paths