Add swift-json dependency.
Splitting up client record code.