rest template work for digest auth and early work on gson