switch keydir/nick/name format from list to string

Switch JSON attributes "keydir", "name", "nick" to string