Fix JSON not being converted bug