[JBMETA-382] Support nested expressions and recursive resolution