Rest tutorial: Add serializer class