Ensure that JSON is always of type `binary()`