Doin' it Brad-style. This works on my machine...

and it will probably work on yours too! So long as you don't change
the default path that json-c installs itself into. And really, who
would do that anyway?
Use constructors instead of cross-ref'd function calls