Metadata parsing improvements

improved error handling / signaling
GetRevisionDate implemented