Adding json encode as expected
Merge remote-tracking branch 'origin/master'