Moment.tojson implementation to avoid to dump all the source code in shell on instance creation
Duration.tojson implementation to avoid to dump all the source code in shell on instance creation