Fix #120: Make attribute keys case insensitive

This line is kind of long.