code: protected ObjectJS createObjectJS(Simon simon) {
  		Sample sample = simon.sample();
  		SimonType lType = SimonTypeFactory.getValueFromInstance(sample);
  		ObjectJS objectJS = ObjectJS.create(sample, jsonStringifierFactory);
  		addAttribute(objectJS, "type", SimonType.class, lType);
  		addAttribute(objectJS, "enabled", Boolean.class, simon.isEnabled());
  		addAttribute(objectJS, "state", SimonState.class, simon.getState());
  		return objectJS;
  
  	}
docs: Transforms a Simon into a JSON object.
  
  @param simon Simon
  @return JSON object