Remove support for the old version of libjson

This allows us to use the int64 methods and remove the overflows.

Fixes #196