added json for classes Field and Union