[RestResourceServer] Replace wrongly used JSONParaser::startObject() with startElement()
[RestResourceServer] Check errors in parameters of server types