JSON stringify inputs
JSON stringify inputs

Also replace the slow `.map` calls with faster `for` loops

n-riesco/plotly-database-connector,n-riesco/plotly-database-connector,n-riesco/plotly-database-connector