More tested code that parses the object from trello