In a pot over medium heat, heat oil. Add onions, garlic and ginger and cook, stirring regularly, until limp and aromatic. Add tomatoes and cook, mashing with back of spoon, until softened and release juice. Add miso and cook, stirring regularly, for about 3 to 5 minutes.