Fix the return type for get-azurevmextension, get-azurebginfoextension, get-azurevmaccessextension cmdlets