tested basic json models. found error with private static classes and made them accessible