add some json encode/decode options
add links
Merge pull request #1060 from Remo/json-options

add some json encode/decode options