Fix embed_in_root_key merging

Fix `embed_in_root_key` merging when options contains a Hash, as explained in #646