added some extra functionality to the default serializer route for documentation purposes