Externalized errors and warnings in JSON file