Return valid JSON responses.