Fix variable argument list for read() and set correct Object structure for ruby object