transformation of the data from ttl to json