public synchronized void initialize(UimaContext context) throws ResourceInitializationException {
    super.initialize(context);

    try {
      JSONOutput = new PrintWriter(JSONFile);
    } catch (IOException io) {
      throw new ResourceInitializationException(io);
    }
  }
 public void initialize(UimaContext context) throws ResourceInitializationException {
   super.initialize(context);
 }