There exist native methods for these JSON things.