Added serializers for course and lesson

* Fixed bug on serializer that nested the json payload within a sub key