Dumping mappings. Something is wrong with the way I am getting my mappings. I need to port the scala mapping code down here.