json_load_file: Initialize the error struct properly