code: public static ReconfigurationPlan readReconfigurationPlan(Reader r) {
          try {
              ReconfigurationPlanConverter c = new ReconfigurationPlanConverter();
              return c.fromJSON(r);
          } catch (JSONConverterException e) {
              throw new IllegalArgumentException(e);
          }
      }
docs: Read a plan.
  
  @param r the stream to read
  @return the resulting reconfiguration plan
  @throws IllegalArgumentException if an error occurred while reading the json