private static void serializeArray(NodeVector<?> nodeVector, Serializer arraySerializer) {
        for (Object child : nodeVector.vector) {
            if (child instanceof InnerNode) {
                Serializer childSerializer = arraySerializer.createInner();
                serialize((InnerNode) child, childSerializer);
            } else if (child instanceof LeafNode) {
                ((LeafNode) child).serialize(arraySerializer);
            }
        }
    }
Returns the serialized representation of the given node.
<p>
Declared static, instead of InnerNode member, to avoid a public 0-arg method with a commonly used name.

@param node The inner node
@return a list of strings, containing the serialized representation of this config
config-lib/src/main/java/com/yahoo/config/ConfigInstance.java