Fixed and added unit tests so that every single class can be build from JSON
Implemented the DelayOutputSerializer (fixed #10)