parse to correct data types and add basic rendering code