Resolve device key type more cleanly inside a single function.
Fix some comments.
Fix more comments.
End all json keys with .json.
Rename sample map to note map.
Fix typo.
Remove checks of obsolete key suffixes.
Merge pull request #93 from kagu/json_keys2

End all json keys with .json