WIP
Bugfix for mutating json in models (write a better message than this :)
WIP
Slot in URI when throwing back an error page to the agent linker