Proper building of JSON body to be send to external services.