add another script to extract fields from returned json