fixes #2989 - id field missing in host_parameters of hosts. (API v1 and v2)