code: public static <T extends SchematicDb> T getDb(InputStream configInputStream) throws ParsingException, RuntimeException {
          Document document = Json.read(configInputStream).withVariablesReplacedWithSystemProperties();
          return getDb(document, Schematic.class.getClassLoader());
      }
docs: Returns a DB with reads the given input stream as a configuration document {@code Document}. This document is
  expected to contain a {@link Schematic#TYPE_FIELD type field} to indicate the type
  of DB.
  
  @see #getDb(Document, ClassLoader)
  @throws ParsingException if the given input stream is not a valid JSON document