add (temporary?) test method and route '/api/formatdataterms'

used only for tests so far. may be removed later.
add mock data to enable data/format terms selection in data creation

work in progress...