refactor: rename getBlockElements to more correct getBlockNodes