You basically instantiate the handler and use it. Instead of a string it will return a JSON object. Because of the nature of this implementation you will have to add any helpers to the created object.