Fixed an issue with NULL CRS.

Author: groldan
create the rest reouter in the dispatcher and avoid an extra indirection