refactor startJson