Postgres Split Array Php Format