Add json endpoints

Signed-off-by: Jason Myers <jason@jasonamyers.com>