Make JSON errors a 1-element list