implemented second more advanced example using more complex json data source