added attr_hidden - to hide elements in model to dict conversion. improved SQL value serialization