Create EMF models of Java code and serialize them in JSON