Flattern \StdClass properties