make sure the serialized JSON object is actually an array.