a50_entityManager: extracted guts of exportEntities to exportEntitiesToJson and delegated to it.
See F#2304
EntityManager exportEntities and exportEntitiesToJson support export-by-EntityType as well as for all or select entities
See F#2305. Includes new tests for this feature