Adding name field and id field in TypeController#index response
Adding name field and id field in TypeController#index response