feat: ref in keys can be strings