Exposed SpawnBase and SpawnItem to JSON; added new JP.Spawn namespace for handling registry stuff