Don't override python-internal name 'type'
Get mappings for JobQueue model only once