Get the scope's data. Will throw an error if it returns null but the scope is non-optional
TODO use a better way than nullability, I want to support nullable data