adding name and id to location endpoint