change buy_gold return from json to string