Assume followings:
/mykeys/.ssh/prodserver.pem - is a certificate file
umid - is a user name
111.111.111.111 - is a remote host, that mongodb runs
SSL Certificates -> Domain Validation SSL from top menu.Details button on row Comodo - Free SSL.Create New Order button.Product Type = SSL Certificates and Select Item = Comodo Trial SSL, then click Complete Order button.Incomplete Orders link.List of all your SSL certificates table click Generate button.record - is variable, that contains models (objects)
I passed JSON_PRETTY_PRINT, JSON_UNESCAPED_UNICODE and JSON_UNESCAPED_SLASHES constants into json_encode filter.
<script>
var infokioskList = JSON.parse("{{ records | json_encode(constant('JSON_PRETTY_PRINT') + constant('JSON_UNESCAPED_UNICODE') + constant('JSON_UNESCAPED_SLASHES')) | e('js') }}");