migrates MacroExpansionAttachment to java.util.HashMap from scalahost