Add a JsonObject ctor to parse from an evbuffer.