Change BackingMap to store Tuple3

Instead of storing maps as values, store the corresponding keys as
part of the key. The key of the BTreeMap is now:

(<patient id>, <column number>, <context>)

For low-dim data, context is empty (empty String).