adding problems as json objects