Simple "Interface" class for serialize/deserialize between JSON and Java class