Postgresql Function Json Setup Vs Configuration