Update document.py

making _enrich_json_with_data(j_dic, ann_obj) way faster by replacing all those for loops with one loop with an if/else structure.