refactoried hardcoded json response