Fix JsonCodec when re-encoding a decoded Map[String, Any] which originally contained a Long value