Added json serialization example and some more examples