Fix drGLM, drBLB transformations and add some methods for dealing with key-value pairs