Use correct dereferencing in GetAll

This change adds a new restriction on setStructKey, and I'm not fully
aware of potential dangers. It appears to be working correctly, so we'll
give it a shot.

from @mzimmerman