parse response data to JSON before getting sessionID from it
removed duplicate command getSize()