Make links to toKeysArray and toMap work

Fixes #296