Fix output format (data was in an array)