- added module/task to the POST handler
- fixed POST output to return Exceptions properly
- cleaned the code a little bit