jlson function

made a little function for json data.