Man hat so Dinge im Kopf, die einem wichtig vorkommen. Aber was im Endeffekt das Wichtigste ist, finde ich interessant zu sehen.
I can't analyze the case of "einem wichtig" in the above sentence. I take die wichtig vorkommen as a predicative sentence in the following form if we want to say in English:
They appear to be important.
And in German:
Sie vorkommen wichtig.
But then I cannot understand why "wichtig" should get "einem".
So I then thought maybe "einem" is not an article for "wichtig" but means something like "at first look" or alike, but couldn't find anything about it.