Postgresql Index Array Javascript Push Object