code: function (reason, locale) {
  		'use strict';
  		return {
  			"version": this.version,
  			"session": this._getSessionData(),
  			"context": this._getContextData(),
  			"request": {
  				"type": "SessionEndedRequest",
  				"requestId": "EdwRequestId." + uuid.v4(),
  				"timestamp": new Date().toISOString(),
  				"locale": locale || this.locale,
  				"reason": reason
  				//TODO: support error
  			}
  		};
  	}
docs: Generates a sesson ended request object.
  @param {string} reason The reason the session was ended.
  @param {string} locale Optional locale to use. If not specified, uses the locale specified by `setLocale`.
  @see https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-standard-request-types-reference#sessionendedrequest