Revert to old dict creation syntax

This reverts commit e859d19325af47f550a16fc520280b54c3b852d1.