original files from npm registry.
added additional options to addTextDomain and parseJSON to match new version of i18next-conv interface.