Fixed mongoid types and added Job fields.