added thumbnail support

in doing so, "photo" key in returned json messaged has been changed to
"thumbnail" key