Add format to response message in getMedications()

format the response in getMedications to match the standard json response.