fixing geometry parsing bug
fixed spatial queries examples
updating the json templates