Example to create a JSON object in Nashorn

Example to create a JSON object from an external JS library and Java library in Nashorn.