Normalize the format of response for File and Invoice API Entities