WP_Json_Server::dispatch() should always return a WP_JSON_Response

Discussed in #708