JSON endpoints for dep info and graph info