Generic JSON (de)serialization using generics-sop