refactor(api/documents_controller.rb): use respond_with magick