dynamically generated attributes normalize the headers into standard ruby names

Signed-off-by: Bebe Peng <bebepeng@gmail.com>