modify json serialization options.