added json generation script (nodejs)