Replace json path with custom hash