Use json object from model