code: public static DataAnalysis fromJson(String json) {
          try{
              return new JsonSerializer().getObjectMapper().readValue(json, DataAnalysis.class);
          } catch (Exception e){
              //Legacy format
              ObjectMapper om = new JsonSerializer().getObjectMapper();
              return fromMapper(om, json);
          }
      }
docs: Deserialize a JSON DataAnalysis String that was previously serialized with {@link #toJson()}