Depolymorphisized deploy to simplify json serialization