Broaden the internal OSD type checks to parse JSON that has
non string values.