some json modifications