Cast resource route options to array