A final update,
```CREATE FUNCTION plv8_test(inp jsonb) RETURNS jsonb AS returninp.Arr.length; LANGUAGE plv8 IMMUTABLE STRICT;
select plv8_test(CAST('{ "Number": 123, "Arr": [ { "Id": 1 }, { "Id": 2 } ]}' as jsonb));```
Returns 1 on the azure instance and 2 on my local instance...
AssertDatabaseMatchesConfiguration
after adding a property or more critically removing one then I'd get an exception thrown. This was my only way of protecting the database from a destructive change.