json_return_and_dir is a typo