Use find_each which is easier on memory usage

Open Kamil Trzcińśki requested to merge use-find-each into master

What does this MR do?

Improves memory efficiency of builds/register endpoint.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?