add some json encode/decode options

if we want people to use the json service/helper, we better add them again