Group the getProperties response to match the return object structure from doc for structures.
result - public fields and accessors (get / set)
internalProperties - internal fields
privateProperties - private fields
For objects it was solved in #62627.