python: Use ordered dictionaries for anything returned by the API as a list.