Change JSON output to array.