Updating routes.js: making all data keys unique