only json decode once

fix #10