Custom webhooks proxy (JSON - XML) for Smart Transaction Systems using Sinatra