Change i18n to JSON

Move magic definiton into its own file
Use array for authors in extension credit

Change-Id: I9b2f00904bc1e4491c98eae893717a90f5cf393d