created JSON file with Javascript Aminal list converted to JSON