for now I solved this problem using third JSON wit...
# jackson-kotlin
h
for now I solved this problem using third JSON with pairs of ids, so I can add instances of the FirstType to this field later