changed response formats and replaced double with single quotes. Also added some exception messages in place on warning