Type-alias draft

JSON to TypeScript type alias

Convert a JSON sample into TypeScript type aliases with deterministic nested declarations.