Changed array options into dictionaries