removing json suffix