Added json to models