Modified the CommonsModel base class endpoint creator to use the extension found at the end of the request, instead of a header or format argument;