private JsonElement serializeNodes(@NonNull final JsonSerializationContext context,
                                       @NonNull final List<ProvisionedMeshNode> nodes) {
        final Type nodeList = new TypeToken<List<ProvisionedMeshNode>>() {
        }.getType();
        return context.serialize(nodes, nodeList);
    }
Returns serialized json element containing the nodes

@param context Serializer context
@param nodes   Nodes list
@return JsonElement
mesh/src/main/java/no/nordicsemi/android/mesh/MeshNetworkDeserializer.java