Fix encoding/serialization of returned data from HDA create API
merge next-stable