Added a module JSON gen resp route

ToDo:: To be implemented, accept json data package and return a .json
file generated for the module.