[FIX] save interfaces as dict instead of a list of dicts