Added more documentation to the typespec code and also added the
function object->plist so that it is convenient to store an object as
a structure and then convert it into a plist for writing.