json.extract! machine, :id, :name, :slug, :updated_at, :created_at