some modifications in the function which translates the icinga1 dictionary to icinga2