limiting stringifying of ajax data to only get requests