Add binary json

I didn't had much spare time this week, so forgive  me I didn't complete the full specification yet. This PR includes an easy to use json serializer (text and binary) and updates the modeldata accordingly. I should really cleanup things soon, however this should be enough to have a well defined g3db format.