Ensure JSON Schema format validators operate only on strings

Change-Id: I9f9481ee4503e9c4656364f34facea2eeb5e108d