don't expand all nodes

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