Merged DynamicObject.toJson and toMap methods
Moved VM features to isXXXApplication() top-level functions