Add schedule list route
Add list route response as json

Also cleaned up tests to use var and more appropriate variables.
Merge branch 'add-basic-rest-routes'