XML to Hash translator