With the new upstream JSON output of parted we could include the information there without breaking anything. Setting the type could be done with an extra command. But that needs a new update release of parted so will take time.