fixing some race conditions
add md5 etags for json