optimisations for displaying data

tests for parsing data into a json file