In order to read from a cursor outside the render phase via om.core/read
must pass a function to which we will pass the cursor. Cursor access
only allowed in the scope of the provided function.