rest api js adding entry to save metadata for csw service.