Make js snapshot operations use given name instead of "name"