changed file extension for file sent to m2 to .json