add support for JSON output, separate format&unit