Fix createIndexes command format, RUBY-713.

The new createIndexes command requires the "indexes" field to be an array of index specs.