Core - handle PyList and PySequence as metadata values