Dump out data from JSON to SQL