use json service from server to get data