Add json based approach