Postgresql Function Return Json From Azure