How to get extension properties of a user task using REST API

If you are using JavaScript with the API, take a look at the work done in Camunda to ASCIIDoctor documentation generator. They were parsing extension properties using the bpmn js libs