Added CPP JSON parsing + writing code