add error messages for failed json configs