adding hand coded Element class to deal with JSON Extension mapping