Add Support to get Host YAML output from CLI and API.
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1313354
Description of problem:
Add support to get the Host YAML output from CLI and API.
Currently we can see YAML output of Host only from UI.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
YAML output of host is only accessible from UI.
YAML output should be accessible from API as well CLI.