Revert "Revert "Metadata handling rewrite""

This reverts commit 5e01e2ac977655aa074faf7fde0a74298f5e4c55.
diff --git a/.gitignore b/.gitignore
index 618c9ba..4098106 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,7 +32,7 @@
 # python compiled objects
 *.pyc
 
-#eclipse project files
+# eclipse project files
 .cproject
 .project
 .settings
@@ -111,3 +111,6 @@
 bazel-grpc
 bazel-out
 bazel-testlogs
+
+# Debug output
+gdb.txt