TL;DR: You can initialise a typescript interface using JSON objects.
On my quest to load and save objects as JSON, I found that you can convert a JSON object to an interface via something called type assertion. Basically, if you have an interface:
export interface PathInterface {
path: string
enabled: