code: public static Object toExternalObject( Object value)
      {
      return
        Optional.ofNullable(
          toExternalNumber( value))
        .orElse(
          toObject( String.valueOf( value)));
      }
docs: Returns an object equal to the external form of the given value.