try .items() for python3.3 compat