Completed library for current JSON with preliminary unit tests