Allow check in non-Fiber server code

Fixes #2136.
EJSON custom type conversion functions can't yield

Code ought to be able to parse and stringify EJSON values without having
to worry about concurrency issues.

Related to #2136.