Qaullib: set web server content type to json for all json responses