modified CRUD to render json without :id