EntityId to routes
preliminary code for generating GET/PUT/POST/DELETE RepJson handlers