Add resultJsonStruct option