add nested keys