Added the basics for JSON calls.