You're right, in the data structure you only have the job name that refers to job_type.name. I would then say that the key is the name and you only need the get_job_type_id method. @jeads can you confirm that the job_type table will be populated via the admin?