Return valid JSON at all endpoints