Cleanup of unused optional code for JSON reviver