Added future support for custom retun types via url extensions