Correcting json output from anova