Refactoring thrift files, adding basic json parser test.
Getting more things generated.