binding: Remove buffer in JSON decoding