Handle XML body of server's virtual interfaces correctly.

In addition, fix the test to check the json in a right way, and
add test that validates the virtual interfaces' mac address

Change-Id: I0cb6c0479041d06f504f8c00f4042b48063cec15
Merge "Handle XML body of server's virtual interfaces correctly."