introduce all_keys shortcut to better handle recursive arrays