Refactored Scala sources. Test JSON responses are reused in frontend test mocking.