add support for bucket type in riak 2.0