Remove unnecessary parenthesis from dictionary tuple indexes