Added method to get all attributes regardless of initialization.

If the object is not persisted, the default values will be merged with
the current ones in the object making possible to overwrite the default
values in case the object has values for attributes with default values.