Use the jsonfield as requirement

Fixes #922