Use cJSON to build an array JSON message.