Draft of JSON implementation