throw an exception in case a plugin contains a malformed json translation file