Make the json array.