Postgresql Json Array Functions Matlab