Do the JSON.parse library-side