write a spark Dataset to json with all keys in the schema, including null columns write a spark Dataset to json with all keys in the schema, including null columns json json