Adding core classes that implement interfaces in xml2json