Use mediawiki-defines.txt for JSON files

Change-Id: I69ea55d0b14a4c3659e64b2a3e8981d51243571e