[RFC] use expression language for resource resolution