Added boolean support to serialization of maps

Without checking val for Boolean they are treated like Strings. The result was {"key":"true"} instead of {"key":true}.

Example gremlin query (with vertex 1 having a boolean value): "x = [:]; x.putAll( g.v(1).map() ); x;"