Added Model#to_json alias method for template uise