Added to Entity getArray function structureToReturn param
Added to Entity getArray function structureToReturn param

structureToReturn gives optional information to Entity so it can print
only the fields, entities and collections required

hugarri/phonf