how do we handle nested keys?