adding hash to json