refactor(documents_controller.rb): use respond_with magick