fix ruby_new_hash_syntax

Don't do replace if it already uses new hash syntax.