code: function (intentName, slots, locale) {
  		'use strict';
  		var requestSlots;
  		if (!slots) {
  			requestSlots = {};
  		}
  		else {
  			requestSlots = JSON.parse(JSON.stringify(slots));
  			for (var key in requestSlots) {
  				requestSlots[key] = {name: key, value: requestSlots[key]};
  			}
  		}
  		return {
  			"version": this.version,
  			"session": this._getSessionData(),
  			"context": this._getContextData(),
  			"request": {
  				"type": "IntentRequest",
  				"requestId": "EdwRequestId." + uuid.v4(),
  				"timestamp": new Date().toISOString(),
  				"locale": locale || this.locale,
  				"intent": {"name": intentName, "slots": requestSlots}
  			},
  		};
  	}
docs: Generates an intent request object.
  @param {string} intentName The name of the intent to call.
  @param {object} slots Slot data to call the intent with.
  @param {string} locale Optional locale to use. If not specified, uses the locale specified by `setLocale`.