JSON endpoints are done.