Simplify Route class, add CUBEJSONSerialization functions