Add support for storing the value as a flattened field in Elasticsearch. We should default to this being off but as an option that has some downsides (content matters more).
It should be a mode on the store that impacts how data is stored but we should always setup the same indices and get should work for either field, i think we use value right now so we'd probably want value_flattened