Fix for issue where adding a format after finding a route...

Fix for issue where adding a format after finding a route was updating
the application scope because the struct was not a deep copy.  Backport
from 1.2