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