Make JSON pretty and canonical if WEBAPI_DBIC_DEBUG set
Refactor type naming from RouteMaker into new TypeNamer.