Added stringification to errors in JSON;