CRM-14449 api custom data behaviour - preliminary tidy up
CRM-14449 api move custom formatting call to utils
Merge pull request #3069 from eileenmcnaughton/CRM-14449

CRM-14449 api custom data behaviour - preliminary tidy up