actually parse what the api gives us and not just do string processing