Protect against nil errors in JSON or something