Extract data from JSON.