Fix serialization on Ruby 2.1

Conflicts:
	ci/Gemfile.ci