Make keyPool synchronized to avoid stuck threads when multiple threads operate on their own JSONObjects instances concurrently