Update README.md

add json type for example code