Add read and get JSON functions (WIP)