OP-25875. Patch for input format prototype.

This is the patch for the work I've done this week, so we might try it out on some jobs.