Tastypie implementation to new models GenericImage and Measurements to expose API as REST Services