Initial json test code draft