added serverOnly schema property
fixed composing of collections in ResourceHandler