Added id to class type json