revise inventory representation

Change-Id: Ic654ff497ed1ca1e09206a8ef45b82cf94ebe514
Reviewed-on: http://review.couchbase.org/27967
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>