Fixed the rest-api. Created Serializers for all classes.