Restructure inputchoices associative array for input