Throw out the thrift and use json