updated /workspaces to respond with json