Updated metadata logic to be sure later changes don't affect the original user_data
Updated metadata logic to be sure later changes don't affect the original user_data

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq