To get values out of the json. Open file with r permission only. How should data be outputted? Json format? Or only allow basic types