Issue 774: Expose contact information in the patient JSON export.
Added support for handling group owners of patient record.