Change from extends to implements JSONVal