added codemap to json dump