Postgres does not provide modification operations for nested JSON arrays out-of-the-box. By combining some JSON utility functions with array...