json-subclass Conversions between JSON and polymorphic Java Objects Code that is referred in StackOverflow question http://stackoverflow.com/questions/27426327/maintain-sub-type-information-while-serializing-java-objects-using-jackson-with