Added getters and setters in JsonResponse class in order to serialize it to json