internal refactoring of deserialize method.
more tests added.
Merge branch 'master' of github.com:ececilla/WorizonJsonRpc