title: Saving an object in mongodb
body: <p>I am trying to save variant options as an object, something like that:
  {'1' : {optionTitle: 'title', optionPrice: 12}, '2': {....}}
  //schema</p>
  
  <pre><code>RestMenuVariants.attachSchema(new SimpleSchema({
      restRefId: {type: String},
      createdBy:{type: String},
      title: {type: String},
      options: {type: Object},
      sortId: {type: String, optional: true},
      createdAt: {type: Date}
  
  }));
  </code></pre>
  
  <p>//part of the method addMenuVariantItem</p>
  
  <pre><code>return RestMenuVariants.insert({
              restRefId: restId,
              createdBy: Meteor.userId(),
              createdAt: new Date(),
              title: title,
              options: options,
              sort_id: sortId
          });
  </code></pre>
  
  <p>// part of the event for loop which creates the object</p>
  
  <pre><code>  variantOptions[i] = {optionTitle: $(element).val(), optionPrice: $(elementPrice).val()};
  }
  </code></pre>
  
  <p>// and calling the method</p>
  
  <pre><code>Meteor.call('addMenuVariantItem', this._id, this.createdBy, variantTitle, variantOptions, function(error, result){.....})
  </code></pre>
  
  <p>I don't get any check or other errors, the variant is saved but when I look for the item at the console i see that the options is an empty object:
  //var cursor = RestMenuVariants.findOne({_id: id});
  //console.log(cursor.options)</p>
  
  <pre><code>Object {}
  </code></pre>
  
  <p>What am I missing? 
  Thanks.</p>