bucket type console functions

these live in kv because they rely on mochijson2 which is no longer in riak_core