Remove extra commas from hashes for 1.8 compat