Change model objects from JSON to JS Objects