How to Build a JSON Training Dataset from PDF Documents Without Manual Annotation