Fix serializer issue when creating new record.
Fix API issue with Ajax controller.
Add methods Legend::hasProperty() and Legend::getProperty().
Add a dumping property condition for debugging.