Add contexts for string mode hash values

Allows for evaluating hash parameters such as ../city in string mode.
Merge pull request #454 from leshill/fix_string_mode_contexts

Add contexts for string mode hash values