add slug field to json