Automating form-based processes through annotation