Refactor minutes data into object