misc fixes to spell routes from json array input