New API and JSON responses