converts gettext .mo or .po to 18next json format and vice versa