jsonOptions mechanism is superfluous, makes subclassing harder