added support for resolving nested properties