Adding 'embed_key' option to allow embedding attributes other than ID