Refactored format-input like format-output.

Changed some field names and values to match those submitted by the DE in v1.6.2.