GSON message converter
dao minor refactoring