Modified entity so that values in the initialisation data get automatically assigned to properties with the same name and an assignable type

Signed-off-by: Martin Evans <martindevans@gmail.com>