[LibJson] Validate json value types.