Add Entity converter capability for generics
declare generic on method, small refactoring
Add support to read in a json array
Rename EntityFactory.fromJson to readEntity
entityconverter can handle Lists of Entities