In a nutshell I am essentially trying to achieve something similar to the accepted answer for this questions but for Scala: How to compare JSON documents and return the diff