Use lowercase type for consistency

All blocks have a lowercase `type` attribute except for header. Changed for consistency.