decode JSON response in decorator

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