1. Added support for exporting array of models to JSON string with specified property names.
2. Also changed toExport parameter to propertyNameToExport.