Add JSON set write handlers.