custom syntax for PersistValue and support for PostgreSQL arrays