added avatar proxy support for json format