In both cases:

```python
  File "/Users/marca/dev/git-repos/cornice/cornice/util.py", line 36, in __call__
    return json.dumps(data, use_decimal=True)
```

which gets invoked by:

```python
  File "/Users/marca/dev/git-repos/cornice/cornice/pyramidhook.py", line 80, in cornice_tween
    response = handler(request)
```

further up the stack.