Allow indifferent access for the data hash

This only lets the data has be accessed via [] with both string and
symbol keys. Other methods to access the data may not work.
Style/IndentationWidth: Use 2 (not 3) spaces for indentation.