PadletWrapper : cleanup json parsing
(cherry picked from commit f475e79b43b72375a1f84623ed6f0e9e728b0dc4)