Minor Objective-C syntax modernization

Use instancetype rather than id. Use literal dictionary syntax.