added embedded geom in json output
fixed pretty print conflict