Format proutes output and include module instead of repr of view

his is a rework of #1431 without the request method.