private JsonElement serializeModels(final JsonSerializationContext context, final Map<Integer, MeshModel> meshModels) {
        final Type meshModelList = new TypeToken<List<MeshModel>>() {
        }.getType();
        return context.serialize(populateModels(meshModels), meshModelList);
    }
Returns serialized json element containing the mesh models

@param context    Serializer context
@param meshModels models map
@return JsonElement
mesh/src/main/java/no/nordicsemi/android/mesh/transport/InternalElementListDeserializer.java