Throw an error if payload doesn't include a root key on embedded records to make debugging easier

Assert that primary root key is included in embedded records mixin