Generate of options to parse in the correct order from @resource_map