throwing together ruby framework for creating json data objects from mdr files.