// configure the default response writer; this one should never be null
if (responseWriters.containsKey("standard")) {
defaultResponseWriter = responseWriters.get("standard");
}
if (defaultResponseWriter == null) {
defaultResponseWriter = new XMLResponseWriter();
}
// make JSON response writers available by default
if (responseWriters.get("json")==null) {
responseWriters.put("json", new JSONResponseWriter());