adding external json representation test.