add guide validation and begin json parsing