implement immutable string dicts using prototype chain