Fix dict syntax in example