MULE-7277 Refactor for improved performance by using simple VariableResolverFactory implementations with less use of HashMaps