Nullable scalars need to be variants (I'm actually setting all nullables to variants. Not sure if it's actually needed for things that get turned into objects)