Mike route metadata

implementation of utility to add meta data and route meta data
```
var path = options.idPath.reduce(function (path, id) {
  // Same as before. 
  return path;
}, ["routes"]).concat([dataId]);
```