PLAT-6670 RefernceAmount use HashMap throughout