added the ability to set the default return mime for routes instead of text/html