[api] Add tastypie support