Move processing of docs to a central place and remove the DdoxSettings argument from the JSON parsers.