Fixed serializer test - JSON.dump doesn't work for HashWithIndifferentAccess in JRuby