create Model from JSON string