Silence golint errors
Add ToJSON() and FromJSON() methods to structs