Put common device info into embedded struct
fixed one test
don't ignore embedded fields while decoding
remove blank line
Merge pull request #11 from campoy/master

Puts common device info into embedded struct