Prefer {} over [] for scalar types

This seems to be a common convention in many projects and the visual
distinction improves readability.