updates to hf xml output and hf xml import