A random variable $X$ is a mapping from a probability space $(\Omega, \mathcal{F}, \mathcal{P})$ to a measurable space $(E, \mathcal{E})$.
A sample space $\Omega$ usually include non-mathematical objects (e.g. the names of a bunch of people). The sigma algebra $\mathcal{F}$ contains the subsets of $\Omega$ we can assign probabilities to.
A random variable maps objects in the sample space to a measurable space. So, to me it seems as if a random variable in layman terms really is just a way to be able to described/translate the non-mathematical objects in a sample space to corresponding mathematical objects (e.g. numbers) in some measurable space.
So, for example: we can describe the probability distribution of the non-mathematical objects, or, we can introduce a random variable and describe the (same) probability distribution of the random variable. Right?
Is this a correct way of thinking about it? Am I missing something?
Not exactly. A random variable is not there to describe or translate. In a lot of cases it will be losing information (which a translation is not supposed to do).
As you have understood, the framework is that you have a random experiment, with an output that could be literally anything depending on the context, and then to each output you associate a number. Now the reason for doing this also depends on context, but one great example is that of a gambling game:
You roll a die / Pick a card from a deck / Run any random experiment, and depending on the outcome I will give you some amount of money, or you will give me some amount of money.
The amount of money, here, is the random variable.
Another context where random variables occur often is when they are actually the main object of study. For instance, if I choose a random person and compute their weight, or height, or amount of money they own, the random experiment (choosing someone at random) is not what I'm interested with, I'm interested with the distribution of my random variable.