Fixed json bug: duplicate success and result array