added toJSON + jars