Yeah, we have to loop through the received data. The API will receive a Template + the field contents. Based on that it'll fetch the info and go through it. It's not much, but should definitely be part of the Repository vs. in the Controller.
We will also need it for the normal backend UI (later ;))