Updated EntityMetadata.java to initialize empty entity properties with null if nullable is true