NCBC-236: Fix view param JSON serialization tests

Change-Id: I6b7ccc1968558afd3b015ec3960f2285dab6714a
Reviewed-on: http://review.couchbase.org/24978
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>