restore lost commas between hash elements