updating for riak_json_http refactor