Fix problem with serialization of long values under new version of
Jackson.