Added support for nested model creation via JSON post