Adds second code path for JSON tables.

New endpoints are now taking JSON for GET requests. The JSON table
method now checks for an optional flag and sets the request method
based on that.