don't break encoding of original object
Merge pull request #4 from ArturT/fix-encoding

don't break encoding of original object