I asked something similar in the past about making sure the value type being assigned to a property is actually valid, and the best solution seemed to be parsing the stream value returned by showProperties. I'm not sure this will work in this situation because of inconsistencies between the formatting of showInterfaces and showProperties. I think read|write is missing all together from showProperties actually.
Anyways, any suggestions would be great. Thanks!