single flat function in JsonSimpleRestController