What is the difference between "allAmenities" and "amenities" in the Hotel list query?

Amenities node in hotels response is a deprecated field, please do not use it. While in the "allAmenities" node you will be receiving the amenities already mapped (just in case you uploaded the mapping file).