Cereal and Cereal test.
Added JSON format and golden serialized files.
Shorter and cleaner syntax w/o side effects.
Done with the JSON TODO.
Tested that exceptions are thrown on invalid inputs.
Better comments.
Merge pull request #1 from dkorolev/test

Cereal and Cereal test.