Added "id" fields with orm type to Discovery Doc resources