Basic JSON parsing in place