Granola

 Granola  is an iOS library for serializing your HealthKit data into JSON in a well-defined format called Open mHealth Schemas that can be found here: https://github.com/openmhealth/Granola.