Simulate json de- and encoding of view params in test requests
Merge pull request #1379 from njam/test-request-viewparams

Simulate json de- and encoding of view params in test requests