Actually set the parent when parsing key-values.