Merge pull request #1 from amakhnach/master

added types
basic deserialization
validation error
adding better validation error
Merge pull request #2 from grimborg/master

adding better validation error
added docstrings