Servlet updates

For some reason, most of the servlets stopped working, throwing an
exception caused because registerTypeAdapterFactory() was commented out.
However, this function only needs to be called by servlets that return a
list.