fixed hash obj covert to a json string