Directly parse geometry from json