Updated serializer to work with latest restframework

Also fixed a test that has been broken forever...
Merge branch 'master' of github.com:GK-12/rpi_csdt_community