RUBY-787 Documents must be an array when creating insert protocol msg