initial changes for integration with riak json