Replace zero-memset with zero initializer for json_state