Patient clinical summary to json.

I have added a param to PatientSummaryController, json which if true prints out json version of patient summary.