use macro to simplify json-read-[array,object,string]