Make foldl work on plain objects