protected String getJSONBaseString() {
		StringBuilder json = new StringBuilder();
		if(this.getId()!=null)
			json.append("\"id\":").append(JSONObject.quote(this.getId())).append(",");
		json
			.append("\"type\":\"").append(this.getType()).append("\"," )
			.append("\"text\":").append(JSONObject.quote(this.getText())).append("," );
			if(this.getPriority()!=null)
				json.append("\"priority\":").append(this.getPriority()).append(",");
			if(this.getNotes()!=null && !this.getNotes().contentEquals(""))
				json.append("\"notes\":").append(JSONObject.quote(this.getNotes())).append("," );
			json.append("\"value\":").append(this.getValue()).append(",");
			if(this.getTagsId()!=null && this.getTagsId().size()!=0) {
				json.append("\"tags\":{");
				for(String tagId : this.getTagsId()) {
					json.append("").append(JSONObject.quote(tagId)).append(":").append("true").append(",");
				}
				json.deleteCharAt(json.length()-1);
				json.append("},");
			}
			if(this.getAttribute()!=null) {
				json.append("\"attribute\":\"").append(this.getAttribute()).append("\",");
			}
		return 	json.toString();
	}