linked the json data to the element properties