add additional casebean fields. naming changes and functionality improvements in CaseEndpoint