Convert hashes to new syntax.