[#43] Refactor code trying to isolate data transformation

* normalize-ids works with just a sequence of nodes
* get-nodes only makes the data fetch in batches and returns the nodes
  sorted by `:id`