add 'hosts' parameter in metadata
make host added into metadata.hosts :: [] if degenerated