Added JSON conversion capabilities

Added an external JSON library to the project and implemented JSON
conversion for the scan cache.