A simple and safe approach to work with JSON objects hierarchies in Swift