Refactor: make Data json value member of ServerResponse
Remove duplication in the code getting values from json