Colinmacdonald/support nested

Adds nested key caching support on the userObj