Added basic JSON error handling