Adding registered property and Id in get_preregistration_data function