Update GenerateFormDataserviceAppraisal.js

Add logic to fetch metadata before retrieving them