Added a json serialization/deserialization class

It's all stubs now, but it's gonna be awesome.