new REST features + joins bugfix