Define object and add entries with square bracket notation

**Do not merge, please**