added formatting and input for Twilio REST
bug fixes