Made it possible to have an EntityRepresentation by giving an HashMap and a containerName (String)