each value can be in different key. not always in ['metadata'].