using JSON output, adding version check (2.0+)