[python] add json menu ids