added generic relation
added fielts
using django serializer
added tests for serializer