filter out private members on python objects to avoid trying to get a dynamic member that will return null