Sample PHP script that processes a tree from the format that Safaricom sends a USSD request