JSON.stringify is needed for ajax so that backend could parse it properly