Simplify (and speed up) handling of the objlist

* no need to get and assign the whole object from the environment
* a list is still somewhat slower than it might be but now only 10% of the
  time rather than 70%