Fixed JSON serialization problem with EntityType.