Defining types and start writing json config parser