Return beautiful serialized functions instead of ugly java objects.