improved json test case
adds dispatcher, it routes json attributes to controllers
fishing metrics with domain model