get_logical_plan utility should accept either a pig script or a json spec