making extractData public

This needs to be as otherwise registries can not call this function directly.