Add Mergeable protocol
Add perf test for nested merge