Rehashing config XML with values in attributes