Added JsonController so that all controllers return similar JSON results.