jsonb_object_agg_strict ( key "any", value "any" ) → jsonbCollects all the key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per
to_json or to_jsonb. The key can not be null. If the value is null then the entry is skipped,