draft PO to JSON script