RUBY-15804: not all keys are comparable so let's convert them to strings