Add contexts for string mode hash values

Allows for evaluating hash parameters such as ../city in string mode.