parse json bodies for stash if correct headers set