code: public static JsonObject buildConfig(InstanceContext context, Cluster cluster) {
      JsonObject config = context.component().config().copy();
      return config.putObject("__context__", Contexts.serialize(context));
    }
docs: Builds a verticle configuration.
  
  @param context The verticle context.
  @return A verticle configuration.