Fixed jsonifying problem.