Change to TrialData object to fix object mapping from JSON to server side object

Post commit code review : Cyrus Venn Casada