Implementation of the Generator, HashMap method has race conditions, need to rename to dumps