Changes options lists to dictionaries