use satisfies? to test whether an object implements JSONable