JSONObject object = (JSONObject) JSONObjectSerializer.getRoot();
ValueDescriptor descriptor = (ValueDescriptor) Qi4j.DESCRIPTOR_FUNCTION.map( (Composite) value );
if (includeTypeInformation)
object.put( "_type", descriptor.type().getName() );
value( object );
return;
} catch( JSONException e )
{
throw new IllegalStateException( "Could not JSON serialize value", e );