REST mock for medima (to use with UI)