Add warnings and notices to JSON response. Closes #104.