Use correct serializer type when sideloading with REST