add Json and Hash serialization functions to VariaModel
Merge pull request #13 from reset/varia-serialization

add Json and Hash serialization functions to VariaModel