--- a
+++ b/utils/formatting.py
@@ -0,0 +1,4 @@
+class SafeDict(dict):
+    # for generating latex tables
+    def __missing__(self, key):
+        return '{' + key + '}'