added spec and specrevision to the result of getSpecMetadata