further work on the external JSON serialization.
Added Snaks, tests for novalue- and somevalue snaks