added a refs option to get_referenced_varpaths because array indexing in driver params/objectives/constraints was being lost and not added to the var vector