Take additional kwargs into account, for instance 'serialize' in django 1.7