use of json almost complete