Simplfied JSON parser.