interactive_commands: use js object instead of string_hashmap