Fixed error messages in prepareJson.