Make storage of responses atomic to prevent races with repeated keys
I noticed this as there were duplicate/broken links on Undine which would yield duplicate keys in our response cache which means racing access could yield incomplete data. Making the storage of responses atomic avoid this.