Version I complete. print json with resourceid and age