Fix @format => "json" base input mechanism so it works as expected (adding fields as arrays).