const wtf=require('wtf_wikipedia')
let str = ` {{Infobox officeholder
| name = Dr. Rajesh Sonkar
| birth_date = {{Birth date and age|df=y|1968|12|9}}
| birth_place = [[Indore]], [[Madhya Pradesh]], [[India]]
| office = [[President Bhartiya Janta Party(BJP) Indore, Madhya Pradesh]]
| term_start = 10 May 2020
}}`
let doc = wtf(str)
doc.infobox().json()