Always add "hosts" object even if it is empty.