you should first create a json for all the property and use that json in the sightly like below:
INside sling model:
"private String jsonDataGenerator()
{
Map<String, Object> props = new HashMap<String,Object>();
props.put("title", this.getTitle());
props.put("description", this.getDescripti...