code: static String toJsonString(final DataModelDto dto) {
          try { return mapper.writeValueAsString(dto); }
          catch (IOException e) { throw new CalculationEngineException(e); }
      }
docs: Converts a {@link DataModelDto} to JSON string that represents an {@link IDataModel}.