code: private String getJsonKey(String key) {
  		String jsonKey = key;
  		if (addQuoteToKey) {
  			jsonKey = JavascriptStringUtil.quote(key);
  		}
  		return jsonKey;
  	}
docs: Returns the json key for messages taking in account the addQuoteToKey
  attribute.
  
  @param key
  the key
  @return the json key