convert hashes to 1.8 style