Skip to content

Refactor serializers to avoid inner state

In some of the serializers we set lists of things to look them up for the relationships.

While the works, it introduces a state that is hard to realize.

Task of this issue is to refactor those not to have those (more or less) hidden state, but instead to give all the needed data as parameters for the method calls.