Replace String#force_encoding by ::Iconv.conv
Rewrite String substituions % with array syntax
Replace hash syntax {a: 1} by {:a => 1}