fixed json infinite recursion issue.