public static String asString(){
  return String.join("\n",toLines());
}

public static String asString ( ) { return String . join ( "\n" , toLines ( ) ) ; }
get all the environment details as a single string with newlines .
