New model's defaults parser

Implemented smart logic for parsing model's defaults
- If no type specified, value which is "first-level literal" will be
treated as JSON and deep copied.
- If type is specified, value is passed by reference, and type will be
coerced if needed.