Dictionary creation can be replaced by dictionary literal

Also removed one instance of redundant brackets