fix(HAL handling): use Object.keys on _embedded