Json option

Use JSON for linkey
Redundant `begin` block detected.