refactored meta variable handling: moved to RequestState