parsing sleep data from app