add 'getLong' method to JsonObject