XJ library for Ruby