Return json msg when erroring on tags.
bugfix
bugfix on 404
bugfix on 404 with headrs
Refactoring to try fix the mess.
Bugfix on monitor init.