Base card object functionalty, json parsing from api into card object