add self reference loop  handling  in webapiconfig