Converting from string to keyword keys to get veiw-by visualization working