add forceVersion flag in getMetaData API