Merge pull request #5 from xoppa/master

Several changes
Add (binary) json serializer