Update serializer to work with references + fix to emprunt view