port Host API into v3 part2

this port host api into v3, and fix the xml/json inconsistance issue
in it.

Partially implements: bp v3-api-extension-versioning
Partially implements: bp v3-api-inconsistencies

Change-Id: I8a9ca6765f448f787fd69ff1cb0f8f9e6e315522
Merge "port Host API into v3 part2"