Return the correct metadata value