convert members to dictionaries