Modify Documents response to be txt instead of pdf