use po_to_json of rdd-giga
add pretty print support