message: Add toJSON method into Base class
diff: import { ILocalizableOwner, LocalizableString } from "./localizablestring";
  import { HashTable, Helpers } from "./helpers";
  import { ItemValue } from "./itemvalue";
  -import { CustomPropertiesCollection } from "./jsonobject";
  +import { CustomPropertiesCollection, JsonObject } from "./jsonobject";
  export interface ISurveyData {
  getValue(name: string): any;
  @@ -204,6 +204,12 @@ export class Base {
  endLoadingFromJson() {
  this.isLoadingFromJsonValue = false;
  }
  + /**
  + * Deserialized the current object into JSON
  + */
  + public toJSON(): any {
  + return new JsonObject().toJsonObject(this);
  + }
  public locStrsChanged() {
  for (let key in this.arraysInfo) {
  let item = this.arraysInfo[key];
  