fixed some bugs, feature of returning object containing all registered
routes and meta data (if any)