add basic json model support and test controller action