allow a string instead of { key: 'foo' } to specify the resolution key