Move to bulk requests
From a comment by @meschi in !31 (merged):
As for the loop, if you create n requests then you have to get n responses. You can place the response.get in a separate loop but you will still need one. The trick here is there is one response for each request. A better approach would be to actually handle this in the "main" loop, by having a separate type of "bulk" request (distinguished by a value AND a register not being specified). Then we could return a single json with all the register values in one go.